package cn.xhy.material.controller.admin.commodityinfo.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CommodityInfoPageReqVO extends PageParam {

    @Schema(description = "子件id", example = "1966")
    private String sonId;

    @Schema(description = "条码")
    private String barCode;

    @Schema(description = "商品类型", example = "1")
    private String productType;

    @Schema(description = "类别")
    private String category;

    @Schema(description = "货物名称", example = "王五")
    private String gname;

    @Schema(description = "型号")
    private String model;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "状态(1启用)")
    private Integer stats;

    @Schema(description = "(1项目，2办公)", example = "2")
    private String type;

    @Schema(description = "(1有 2没有)")
    private Integer isBatchnumber;

    @Schema(description = "描述")
    private String depict;

    @Schema(description = "规格")
    private String specif;

    @Schema(description = "是否可拆分（1是2否）")
    private String isSplit;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
